package com.hopes.bizz.close.gis.vo.hazard;

import com.hopes.boss.admin.api.resolver.DictResolver;
import com.hopes.boss.admin.api.resolver.enums.AdminDictEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 预约企业占比
 * @time 2024/2/26 20:11
 */
@Data
public class ApplyCompanyVO implements Serializable {

    private static final long serialVersionUID = 326899954272569432L;


    private Long orgId;


    private Integer num;

    public ApplyCompanyVO(Long orgId, Integer num) {
        this.num = num;
        this.orgId = orgId;
    }

    public String getOrgIdStr() {
        return DictResolver.getItemLabelByValue(AdminDictEnum.sys_company, this.getOrgId());
    }

}
